#ifndef __LOGGER_TEST_H__
#define __LOGGER_TEST_H__

#pragma once

#include <cppunit/extensions/HelperMacros.h>

#include <ballade/util.h>

namespace Ballade
{
	
	namespace Util
	{
		
		class LoggerTest : public CppUnit::TestFixture
		{
			CPPUNIT_TEST_SUITE(LoggerTest);
			CPPUNIT_TEST(testDefaultIsDebug);
			CPPUNIT_TEST(testDebugEnabled);
			CPPUNIT_TEST(testInfoEnabled);
			CPPUNIT_TEST(testWarnEnabled);
			CPPUNIT_TEST(testErrorEnabled);
			CPPUNIT_TEST(testFatalEnabled);
			CPPUNIT_TEST_SUITE_END();
			
		public:
			void setUp();
			void tearDown();
			void testDefaultIsDebug();
			void testDebugEnabled();
			void testInfoEnabled();
			void testWarnEnabled();
			void testErrorEnabled();
			void testFatalEnabled();
			
		private:
			Logger *_logger;
			
		};
		
	}

}
#endif